package com.wanjl.spring_05_mybatis_spring.common.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @author WanJl
 * @version 1.0
 * @title SpringConfig
 * @description
 * @create 2024/11/1
 */
@Configuration
@ComponentScan("com.wanjl.spring_05_mybatis_spring")
//加载jdbc.properties属性文件
@PropertySource("classpath:jdbc.properties")
//引入其他的配置类
@Import({JdbcConfig.class, MybatisConfig.class})
public class SpringConfig {

}
